package com.jfinal.demo.config.common;

import java.io.File;

/**
 * firefox中文件下载，文件名有空格将会被截断。覆写getName方法。
 * 
 * @author Administrator
 * 
 */
public class MyFile extends File {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public MyFile(String fileName) {
		super(fileName);
	}

	@Override
	public String getName() {
		return "\"" + super.getName() + "\"";
	}
}
